﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Data.SQLite;
using DOC2TXT.Library;

namespace HTMeeting.Forms
{
    public partial class UCList : UserControl
    {
        public UCList()
        {
            InitializeComponent();
        }
        public void ShowData()
        {
            string sql = "select id as 编号,pname as 姓名,uploadtime as 上传时间 from wordfiles order by id desc limit 1000";

            SQLiteDataAdapter da1 = new SQLiteDataAdapter(sql, SQLiteHelper.Conn);
            DataSet ds1 = new DataSet();

            ds1.Tables.Clear();
            da1.Fill(ds1);
            dataGridView1.DataSource=ds1.Tables[0];
        }
    }
}
